import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity("video", { schema: "djs" })
export class Video {
  @PrimaryGeneratedColumn({ type: "int", name: "id" })
  id: number;

  @Column("varchar", { name: "video_class", nullable: true, length: 255 })
  videoClass: string | null;

  @Column("varchar", { name: "video_url", nullable: true, length: 255 })
  videoUrl: string | null;

  @Column("varchar", { name: "dsc", nullable: true, length: 255 })
  dsc: string | null;
}
